home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / check33.zip / CHECK33.DOC next >
Text File  |  1990-07-26  |  17KB  |  325 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6. ============================================================================
  7.  
  8.  
  9.  
  10.                          Checkers Door Version 3.3
  11.  
  12.                  A Multiplayer Door for PCBoard Version 14
  13.  
  14.                         Registration is only $10.00!
  15.  
  16.               Written by: Gerry Freymann
  17.                           R.R.#1
  18.                           Baltimore, ONT K0K 1C0
  19.  
  20.           The Phantom BBS (416) 342-3734/3766 USR HST
  21.                           (416) 342-5573 Hayes Ultra
  22. ============================================================================
  23.  
  24.  
  25.  
  26. BRIEF RELEASE HISTORY
  27. =====================
  28. Ver 1.0 - Initial release, written in Turbo Basic
  29. Ver 1.1 - Changes, including adding a set of letters instead of having the
  30.           co-ordinates all in numbers.
  31.         - fixed the failure of the program which prevented the Black Player
  32.           from getting a King when he got to the bottom!
  33. Ver 1.2 - More fixes, I can't remember as I'm writing this at the release
  34.           of...
  35. Ver 3.0 - Look!  No Version 2!  This is to keep the Version number in line
  36.           with Battleship and Backgammon.
  37.         - Added an ANSI bulletin in addition to the ASCII bulletin
  38.         - Updated the page sysop for game, it now acts EXACTLY as if you
  39.           were really pressed the keys.
  40.         - now written in Quick Basic and uses the Door Patch by Clint
  41.           Labarthe.
  42.         - Updated the Leave Message/Reply to message routine.  Nifty.
  43.         - Configuration file changed with this release! Important!
  44.  
  45. Ver 3.1 - The authors of Door Patch updated their code and forced me to
  46.           recompile all of my Doors using DORPCH35.EXE!  Also added was an
  47.           option to pick and choose what Bulletin file (if any) you wanted.
  48.           Substitue the word NULL on the line(s) of the path/name of the
  49.           Bulletin file if you don't wish to have them produced.  Also changed
  50.           the way the Hall of Fame is added to the Bulletin at the end of
  51.           program.  The old SHELL COPY command was causing problems for those
  52.           with limited amount of memory.  Added a carraige return at the end
  53.           when the program says creating the Bulletin.  Looks nicer now.
  54.         - Also fixed the problem with the NDX file getting mysteriously set to
  55.           zero!  Every now and then you could have a batch of games going and
  56.           when somebody entered the door the program thought NO games were
  57.           underway.  All you found in the .NDX file was the number 0. This has
  58.           been fixed.
  59.  
  60. Ver 3.2 - Released June 17/89
  61.         - The Index file has been changed to a Random Access File. The program
  62.           will read this file at various points throughout the Door. The index
  63.           file will only be updated IF a new game is added, a player completes
  64.           his move or a player joins a game waiting for a player. It also only
  65.           updates the RECORD in the NDX file as opposed to rewriting the entire
  66.           file.  This will fix the mixed up .NDX file problem on multi-node
  67.           systems.
  68.         - All game files have been changed to Random access files and are
  69.           opened with File Locking syntax.
  70.         - The opening and closing screens have been changed in favour of
  71.           quicker log-ins and log-offs.
  72.         - The opening where the program searches for the Players' name has been
  73.           updated.  The program now tells the user it's his move in game 1, 2,
  74.           3, etc..  The program also lists the game numbers of games which
  75.           need a second player.
  76.      ** - A convert program to change the .NDX file and the game files to the
  77.           new format has been created.  Run it once and forget it.
  78.           [CHKCNVT.EXE]
  79.         - The Sysop maintenance program [CHKILL.EXE] has been updated to 3.2
  80.           and has also been rewritten in QuickBasic.  Very FAST!  Also the name
  81.           has been changed from CHKKILL.EXE to Chkill.Exe (one K now).
  82.         - An option to allow the player to withdraw from the game has been
  83.           added.  Option 9 - a Sysop only command has been removed.  If you
  84.           really want to delete a game just DEL CHECKERS.0?? and run the
  85.           CHKILL program.
  86.         - If you don't specify a configuration file after the CHKILL name,
  87.           Chkill will now open CHECKERS.CFG by default.  Chkill does require
  88.           a .cfg file to be passed onto it, but if one isn't, CHECKERS.CFG
  89.           will be used.
  90.         - Stopped displaying the Hall of Fame (if one exists) upon exiting the
  91.           door program to speed up exits.  If they want to see the Hall of
  92.           Fame they can read the Bulletin!
  93.         - added an option to disable the Page the Sysop for Game mode.  If you
  94.           don't want the game to automatically play the User then delete all
  95.           comments in your .CFG file(s).  If those 'comments' do not exist the
  96.           Page Sysop for A Game mode is disabled and the user will see a
  97.           comment saying "Sorry, the Sysop is unavailable for a game!"
  98.         - If for some reason the MainMenu gets lost on the users screen, if
  99.           they enter ? or H the program will remind them option 6 displays the
  100.           help file and then the Menu will be reprinted.
  101.        -  On Page Sysop function..the line that lists who's move is next was
  102.           not always being updated.  Fixed.
  103.        -  Chuck Dennis reported a player could jump his own man and remove his
  104.           piece from the board.  Added a check to see if the player is
  105.           attempting to jump his own man and give him a No-no message.
  106.        -  Ronald Coleman reported that when someone tries to view a game an
  107.           error #50 occurred.   I forgot to put LEN=XXX after the open
  108.           statement.  It works much better now.  Thanks Ronald!
  109.        -  Discovered that when a player G)ives Up it declared him the winner
  110.           in the index file but put the correct description in the Hall of
  111.           Fame.  Fixed that too.
  112.         - Added Option #9 to the main menu - Scan Player Status.  This will
  113.           scan through the index file and report the user's status.
  114.         - If a player Jumped to the end of the opposite player's side of the
  115.           board they did not receive a king.  I discovered this myself one
  116.           day when I jumped into home base and jumped out.  I didn't get
  117.           kinged!  Fixed.
  118.  
  119. --------------------------------------------------------------------------
  120. Ver 3.3 - added necessary code to work with Register program (see DOCS)
  121.         - added Expert mode on Main Menu
  122.         - added a comment to screen when searching for player stats
  123.         - messages left will be displayed in their original case
  124.         - added a colour graphics toggle to Main Menu
  125.         - corrected stacking at main command line.  You could view game 5 with
  126.           just a 2;5 but a 2;10 would fail.
  127.         - have the program stopping after filling up the screen when listing
  128.           games and displaying current game status bulletins.
  129.         - Added a question mark at the end of the Main Menu command line
  130.         - put the current date into the game file when Player2 joins up
  131.         - justified the game numbers from 1-9 when listing current players
  132.         - when the playing field is drawn I added a comment after each players'
  133.           name to indicate what end of the screen they started from
  134.         - changed Ctrl-K aborts on Page Sysop for a game to just K aborts,
  135.           as I've never been able to trap control codes with doorpatch.
  136.         - I found out that the Give Up option wasn't quite working the way it
  137.           should when playing the "Sysop".  Fixed exit.
  138.         - This version will also place comments in your caller log to let you
  139.           know if the user is using the page sysop option.
  140.        - Updated the Chkill program
  141.           -now creates a Chkill.LOG file (overwrites each time)
  142.           -automatically deletes games that have not had a move in them for
  143.            45 days or longer
  144.    *--->  **NOTE** Once you are upgraded to 3.2 status, and BEFORE you start
  145.           to use the 3.3 code, please run CNVT33.EXE once.  It just changes
  146.           the LastMove field to hold the current date and time to conform to
  147.           the 3.3 format.  I stopped holding the last move of the chips and
  148.           put in its place the time and date of the last move.  If you don't
  149.           run CNVT33.EXE - the next time you run the ChKill program it will
  150.           delete most of your games! **IMPORTANT**
  151.  
  152.  
  153. OVERVIEW OF CHECKERS DOOR
  154. --------------------------------------------------------------------------
  155.  
  156. Welcome to multi players checkers for PCBoard Version 14.  This program
  157. is now written in Quick Basic and uses the Door Patch code created by
  158. Clint Labarthe.  I originally discovered the program in a Commodore file
  159. on a BBS.  I have used that file as a guide to writing this Checkers
  160. Door.  It was a PUBLIC DOMAIN file and no, the authors name was no where
  161. to be found.  Some code from the original Commodore Checkers program does
  162. exist in one form or another in this Door.
  163.  
  164. If you were running a version lower than 3.2 you will need to run the
  165. convert program to change your game and index files into the new format.
  166. Run this program once (you may want to back them up first) and forget it.
  167.  
  168. Once you are at 3.2 file formats, and before you run the 3.3 code, run
  169. CNVT33.EXE.  This is a simple program that changes the LastMove field
  170. in the game files to the new format.
  171.  
  172. If you were using a version loswer than 3.1 you MUST change your
  173. configuration file!  See the section of the CFG file later in this
  174. documentation.
  175.  
  176.  
  177. When you enter the Door a menu will be presented with 9 choices.  They
  178. are:
  179.  
  180.                 1) Make a move in a Game that you are in
  181.                 2) Start a brand new game and wait for a Player
  182.                 3) See a Game that is already underway
  183.                 4) Become Player 2 in a Game waiting for a Player
  184.                 5) List the current Games, Players & who's move
  185.                 6) Complete instructions for Checkers Door
  186.                 7) End program and Exit to PCBoard
  187.                 8) Page Sysop for a Game
  188.                 9) Scan your Status in the Games
  189.                 X) Expert Mode ON/Off
  190.                 G) Colour Graphics ON/off
  191.  
  192. Guesses are entered using numbers and letters.  Like A1-B2.  You'll see
  193. them on the playing grid.  The Letter is first and the number second.
  194.  
  195. The players are colour coded as Blue and White in graphics mode or as
  196. "b" and "B" for blue and "w" and "W" for white.  Small case letters are
  197. normal playing pieces while the capital letters are kings.
  198.  
  199. Your players can also leave one line messages to each other during the
  200. game.
  201.  
  202. When a user exits the Door the program will write a Bulletin that
  203. you can add to your system containing the names of the Players and
  204. their opponents, who's turn it is, if the game is over, how may guesses
  205. have been made and if some games have been completed, the
  206. "Hall of Fame" appears at the bottom of the Bulletin (if there is one).
  207. The "Hall of Fame" is contained in a file that is called CHECKERS.SCR
  208. and will appear once a game has been completed and should remain there
  209. until you deem fit to 'reset' the Hall of Fame scoreboard.
  210. The program actually copies CHECKERS.SCR to your Bulletin
  211. so deleting CHECKERS.SCR will erase any completed game history.
  212. You need to specify full path and names for the bulletins in your
  213. configuration file.  Both an ASCII and ANSI version are made.  Substitute
  214. the word NULL in your .cfg file if you don't want the bulletin(s) created.
  215.  
  216.  
  217.  
  218. FILES NEEDED FOR DOOR OPERATION
  219. --------------------------------------------------------------------------
  220.  
  221. The following files are contained in your ZIP copy of Checkers..
  222. The files with the asterisk (*) must be located in the same directory
  223. in order for this program to function properly.  If you have any doubts
  224. about the integrity of these files please feel free to download them
  225. directly from my board (416) 342-3734/3766 HST (416) 342-5573 Hayes Ultra.
  226.  
  227. *  CHECK33.EXE      <<--The main program
  228. * CHECKERS.CFG      <<--A sample configuration file
  229.   CHECKERS          <<--A sample file to run the whole thing
  230. * CHECKERS.INS      <<--The instructions the user will see
  231.    CHECK33.DOC      <<--I luv this part - You're reading it right now!
  232. *   CHKILL.EXE      <<--Sysop Maintenance program, use in your Event.Sys
  233.    LICENSE.DOC      <<--You must read, understand and agree to this!
  234.      SYSOP.DOC      <<--Important set-up instructions
  235.      FLYER.DOC      <<--Information on other programs available from me
  236.   REGISTER.FRM      <<--Registration Form
  237.    CHKCNVT.EXE      <<--Convert game/ndx files to 3.2 format.
  238.     CNVT33.EXE      <<--Convert 3.2 game files to 3.3 format.
  239.  
  240. Files created by the program after running it:
  241.  
  242. * CHECKERS.SCR      <<--Hall of Fame is held in here once a game has ended
  243. * CHECKERS.0??      <<--Games currently underway, ?? equals 01 to 100
  244. * CHECKERS.NDX      <<--Quick index of all the Games
  245. * CHECKERS.REG      <<--Created by CHECKREG.EXE after registering
  246.  
  247. Files needed for Door Patch Operation:
  248.  
  249. * DORPCH35.EXE     <<--If you don't have these I can make them available to
  250.     BRUN30.EXE     <<--to you on my Board.
  251.  
  252. [*] - these files must be in the same directory
  253.  
  254.  
  255. CHKILL.EXE - Sysop Maintenance Program - UPDATED!
  256. --------------------------------------------------------------------------
  257. This has also been rewritten in Quick Basic.
  258. This program can be called up from DOS or added to your Event.sys file.
  259. It's purpose is to delete any games that are completed and move all other
  260. games up.  Games are stored as CHECKERS.001 for game 1, CHECKERS.002 for
  261. game 2 etc.  When the players decide to G)ive up and forfeit the game you'll
  262. see DEL in one of the columns.  If you have alot of these run the CHKILL
  263. program to remove them.  If you as the Sysop wish to delete a game simply
  264. go to DOS and enter DEL CHECKERS.0?? and then run CHKILL.Exe.  It'll be
  265. removed!
  266.  
  267. Also, if for any reason your index file becomes inaccurate, simply run
  268. CHKILL and it will be updated.  CHKILL actually reads in each data file
  269. of all the games and read the Player's name and who's turn and all that
  270. important stuff.  It kinda double checks everything and sets it right.
  271.  
  272. CHKILL also needs a configuration file name passed onto it when you run it,
  273. as it must know your maximum allowed games and where your Bulletin is to be
  274. kept.  Use the SAME name as you did to load CHECKERS.  For example, if you
  275. loaded Checkers using CHECKERS CHECKERS.CFG then you should load the
  276. Sysop maintenance program like this:  CHKILL CHECKERS.CFG.  If you DON'T
  277. supply a .cfg name the Kill program will try to read [CHECKERS.CFG] by
  278. default.
  279.  
  280. ** As of Checkers v3.3 the Chkill program will now automatically delete games
  281. that have not seen action for 45 days or more.  Chkill also creates a log
  282. file called ChKILL.LOG which will let you know what games have been
  283. deleted and why.  The Log file is overwritten each time the program is run
  284. so you don't have to worry about it growing and growing.
  285.  
  286.  
  287.  
  288. CHECKERS.CFG - What is required
  289. --------------------------------------------------------------------------
  290. C:\PCB\PCBOARD.SYS   <<--Full path and name of PCBoard.Sys
  291. The Phantom BBS      <<--Your BBS Name (Use upper and lowercase)
  292. Gerry                <<--Sysop first name
  293. Freymann             <<--Sysop last name
  294. 20                   <<--Maximun number of games you want (100 is the max)
  295. C:\PCB\GAMES\GBLT4   <<--Full path and name of ASCII Bulletin | NULL if none
  296. C:\PCB\GAMES\GBLT4G  <<--Full path and name of ANSI Bulletin  | NULL if none
  297.  * next 25 lines     <<--Comments the program will "type" for you when the
  298.                          user uses the Page Sysop for a game option.
  299.                          Do NOT include these lines if you don't want the Page
  300. - Good luck! -           option to work.
  301.  
  302.  
  303. Support the Shareware concept...
  304. ---------------------------------------------------------------------------
  305. To Register, please print out and return the REGISTER.FRM in the Zip file.
  306. With the release of Checkers 3.3 I have made a slight change to the
  307. register process.  Now, when you register, you will be given a small program
  308. called CHECKREG.EXE which you run in your door subdirectory.  This program will
  309. create a file called CHECKERS.REG which will instantly register your existing
  310. copy of the door program, and any and all future versions as well.  This
  311. means that any future releases you find will automatically continue to say
  312. registered to you, without the need to come back to me.  I hope you'll
  313. appreciate this new system.  You should be able to call The Phantom BBS and
  314. make your initial call, wait until I receive your payment, and download this
  315. small utility without spending alot of time on the phone.  Or, for an
  316. additional $5.00 per order, I can send you the whole package on disk using
  317. the postal service.  The choice is yours.  I'll also be creating a Door so
  318. Registered Sysops may download their *.REG files and/or the *REG.EXE
  319. programs.
  320.  
  321. ---------------------------------------------------------------------------
  322.  
  323. Thanks for your support!
  324.  
  325.